package com.lwq.fallback;

import com.lwq.feign.ProductFeign;
import com.lwq.util.Result;
import org.springframework.stereotype.Component;

@Component
public class ProductFallbackFeign implements ProductFeign {
    @Override
    public Result selectById(Integer id) {
        return Result.fail(0,"远程方法调用失败");
    }
}
